package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.SysAlarms;

/**
 * alarmMapper接口
 * 
 * @author ruoyi
 * @date 2022-05-11
 */
public interface SysAlarmsMapper 
{
    /**
     * 查询alarm
     * 
     * @param alarmId alarm主键
     * @return alarm
     */
    public SysAlarms selectSysAlarmsByAlarmId(Long alarmId);

    /**
     * 查询alarm列表
     * 
     * @param sysAlarms alarm
     * @return alarm集合
     */
    public List<SysAlarms> selectSysAlarmsList(SysAlarms sysAlarms);

    /**
     * 新增alarm
     * 
     * @param sysAlarms alarm
     * @return 结果
     */
    public int insertSysAlarms(SysAlarms sysAlarms);

    /**
     * 修改alarm
     * 
     * @param sysAlarms alarm
     * @return 结果
     */
    public int updateSysAlarms(SysAlarms sysAlarms);

    /**
     * 删除alarm
     * 
     * @param alarmId alarm主键
     * @return 结果
     */
    public int deleteSysAlarmsByAlarmId(Long alarmId);

    /**
     * 批量删除alarm
     * 
     * @param alarmIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysAlarmsByAlarmIds(Long[] alarmIds);
}
